using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;

public partial class GameMainPanel
{
    private Image m_HealthBarImage;
    private Image m_ExpBarImage;
    private Image m_MagicImage;
    private Button m_BagButton;
    private TMP_Text m_LevelTextTextMeshPro;
    private Image m_FadeImage;

    public override void InitializedObj()
    {
        base.InitializedObj();

        m_HealthBarImage = UIObj.transform.Find("PlayerStats/back/PlayerStatsBar/Health").GetComponent<Image>();
        m_ExpBarImage = UIObj.transform.Find("PlayerStats/back/PlayerStatsBar/Exp").GetComponent<Image>();
        m_MagicImage = UIObj.transform.Find("PlayerStats/back/PlayerStatsBar/Magic").GetComponent<Image>();
        m_LevelTextTextMeshPro = UIObj.transform.Find("PlayerStats/back/LevelInfoBlank/LevelText").GetComponent<TMP_Text>();
        m_FadeImage = UIObj.transform.Find("Fade").GetComponent<Image>();

        m_BagButton = UIObj.transform.Find("Bag").GetComponent<Button>();
    }
}
